﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBase.MyProject.Domain
{
    /// <summary>
    /// 审批记录表
    /// </summary>
    public class ApprovalRecord
    {
        [Key]
        public int RecordId { get; set; }

        public int DepartmentId { get; set; }
        public int DepartmentHeadId { get; set; }
        public int LeaveId { get; set; }         // 关联请假申请ID
        public int ApproverId { get; set; }       // 审核人ID（关联User.UserId）
        public string ApproverName { get; set; }       // 审核人名称（关联User.NickName）
       
        public string Status { get; set; }        // 审核状态
        public DateTime ApprovalTime { get; set; } // 审核时间
        public string Comment { get; set; }       // 审核意见
    }
}
